﻿using System.Collections.ObjectModel;
namespace Renci.Data.Interop.OpenGIS.Gml
{
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.opengis.net/gml")]
    [System.Xml.Serialization.XmlRootAttribute("TimeOrdinalEra", Namespace = "http://www.opengis.net/gml", IsNullable = false)]
    public class TimeOrdinalEraType : DefinitionType
    {
        private Collection<RelatedTimeType> _relatedTime = new Collection<RelatedTimeType>();
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute("relatedTime")]
        public Collection<RelatedTimeType> RelatedTime 
        {
            get
            {
                return this._relatedTime;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute("start")]
        public TimeNodePropertyType Start { get; set; }

        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute("end")]
        public TimeNodePropertyType End { get; set; }

        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute("extent")]
        public TimePeriodPropertyType Extent { get; set; }

        private Collection<TimeOrdinalEraPropertyType> _members = new Collection<TimeOrdinalEraPropertyType>();
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute("member")]
        public Collection<TimeOrdinalEraPropertyType> Members 
        {
            get
            {
                return this._members;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute("group")]
        public ReferenceType Group { get; set; }
    }
}
